package j02jicheng;

public class J2 {
}

class Person{
    String name;
    int age;

    public void eat(){}
    public void sleep(){}
}

class Student extends Person{
    int no;
    public void study(){

    }
}

class StudentTest{
    public static void main(String[] args) {
        Student s1 = new Student();
        System.out.println("s1.name = " + s1.name);
        s1.eat();
        s1.study();
    }
}